import java.util.Arrays;
import java.util.List;

/**
 * @author ML李嘉图
 * @version createtime: 2021-11-11
 * Blog: https://www.cnblogs.com/zwtblog/
 */
public class test {
    public static void main(String[] args) {

        int[] myArray = {1, 2, 3};
        List myList = Arrays.asList(myArray);
        System.out.println(myList.size());


        Integer[] myArrayNew = {1, 2, 3};
        List myListNew = Arrays.asList(myArrayNew);
        System.out.println(myListNew.size());


    }
}
